package com.yc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @ClassName CartApplication
 * @since: 2023/9/13 15:58
 * @auth: kirito
 * @description:
 **/
@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.yc.dao")
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 86400)
public class CartApplication {
    public static void main(String[] args) {
        SpringApplication.run(CartApplication.class,args);
    }
}
